﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DotNetNuke.Modules.ActiveSocialMigrator.Utilities
{
    public class JournalTypeMapping
    {
        public string MapJournalType(string ActiveSocialJournalType)
        {
            switch (ActiveSocialJournalType)
            {
                case "post":
                    return "status";
                case "document":
                    return "file";
                case "note":
                    return "blog";
                case "forumtopic":
                    return "forum_topic";
                case "forumreply":
                    return "forum_reply";
                case "video":
                    return "videoadd";
                case "createevent":
                    return "eventcreate";
                case "attendevent":
                    return "eventattend";
                case "uploadphoto":
                    return "photo";

            }
            return ActiveSocialJournalType;
        }
    }
}